package com.xdf.wxbebarrel.model;

import java.io.Serializable;
public class UserMill implements Serializable,Cloneable {
    private Integer iid;//
    private String openId;//微信openid
    private String millSid;//工厂名
    private String userid;//用户编号
    private String username;//用户名
    private Boolean millDefault;//默认工厂,1表示用户关联多个工厂时的默认工厂
    private Boolean effective;//有效,1表示关系有效
    private java.util.Date createTime;//
    private Boolean pushTimeout;//1表示推送超时没有归为
    private Boolean pushDestroy;//1表示推送销毁网筒
    private Boolean pushChangeposition;//1表示推送更换仓位
    private Boolean audit;//审核权限,1表示有审核权限

    private String role;

    private static final long serialVersionUID = 1L;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
    public String getMillSid() {
        return millSid;
    }

    public void setMillSid(String millSid) {
        this.millSid = millSid;
    }
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public Boolean getMillDefault() {
        return millDefault;
    }

    public void setMillDefault(Boolean millDefault) {
        this.millDefault = millDefault;
    }
    public Boolean getEffective() {
        return effective;
    }

    public void setEffective(Boolean effective) {
        this.effective = effective;
    }
    public java.util.Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }
    public Boolean getPushTimeout() {
        return pushTimeout;
    }

    public void setPushTimeout(Boolean pushTimeout) {
        this.pushTimeout = pushTimeout;
    }
    public Boolean getPushDestroy() {
        return pushDestroy;
    }

    public void setPushDestroy(Boolean pushDestroy) {
        this.pushDestroy = pushDestroy;
    }
    public Boolean getPushChangeposition() {
        return pushChangeposition;
    }

    public void setPushChangeposition(Boolean pushChangeposition) {
        this.pushChangeposition = pushChangeposition;
    }
    public Boolean getAudit() {
        return audit;
    }

    public void setAudit(Boolean audit) {
        this.audit = audit;
    }

    @Override
    public String toString() {
        return "UserMill{" +
                "iid=" + iid +
                ", openId='" + openId + '\'' +
                ", millSid='" + millSid + '\'' +
                ", userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                ", millDefault=" + millDefault +
                ", effective=" + effective +
                ", createTime=" + createTime +
                ", pushTimeout=" + pushTimeout +
                ", pushDestroy=" + pushDestroy +
                ", pushChangeposition=" + pushChangeposition +
                ", audit=" + audit +
                ", role='" + role + '\'' +
                '}';
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
            return super.clone();
    }

    //=================以上是自动生成的代码，自定义代码请写在下面==================
}